import React from 'react'
import ReactDOM from 'react-dom'
import App from './components/App'
import './styles.css'
// 使用 Provider 可以让 store 在全局被访问
import { Provider } from 'react-redux'
// 导入创建的 store
import { store } from './store'

ReactDOM.render(
	<Provider store={store}>
		<App />
	</Provider>,
	document.getElementById('root')
)
